package com.lagou.dao;

import com.lagou.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by wangq on 2021/9/27.
 */
public interface AuthCodeDao extends JpaRepository<AuthCode, Long> {
    AuthCode findFirstByEmailOrderByCreatetimeDesc(String email);
}
